home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dbase / techs.zip / TECH20.ZIP / READ.ME < prev   
Text File  |  1985-11-04  |  1KB  |  35 lines

  1. PROGRAM NAME:  Prntchk.ASM
  2.  
  3. DESCRIPTION:  Assembly language routine to check printer status
  4. before printing from dBASE.
  5.  
  6. ISSUE: October, 1985
  7. PAGE: 12
  8.  
  9. SOFTWARE VERSIONS:  dBASE II and dBASE III, all versions
  10.  
  11. FUNCTION:  This routine checks the printer status of LPT1 and
  12. assures that dBASE will not attempt a printing operation until
  13. the printer is turned on and is on-line.
  14.  
  15. FILES NEEDED: Printchk.ASM
  16.               Printchk.BIN--for dBASE III, Developer's Release
  17.               Printchk.COM--for dBASE II, dBASE III v. 1.0, 1.1
  18.  
  19. SETUP INSTRUCTIONS:  In dBASE II issue the command QUIT TO
  20. Printchk.  In dBASE III use RUN Printchk to access the program.
  21. In the Developer's Release, insert the following code in your
  22. programs that access the printer:
  23.  
  24.         SET TALK OFF
  25.         LOAD Printck
  26.         ok2print = .F.
  27.         DO WHILE .NOT. ok2print
  28.            CALL Printchk WITH ok2print
  29.            IF .NOT. ok2print
  30.               ?
  31.               ? "Printer is not ready-Please Correct"
  32.               WAIT
  33.            ENDIF
  34.         ENDDO 
  35.